﻿CREATE PROCEDURE [dbo].[wikiCategories_insert]
    @name nvarchar(256)   
AS
    Insert Into WikiCategories
    (Name)
    Values 
    (@name)
    Declare  @wikiCategoryId int = @@IDENTITY

    Select CategoryId, Name 
    From WikiCategories
    Where WikiCategories.CategoryId = @wikiCategoryId
RETURN 0
